package com.itheima.test;

public class Demo02 {

    public static void main(String[] args) {
        Student student = new Student();
        System.out.println(student.name);
        System.out.println(student.age);
        student.name="小蔡";
        student.age=22;
        student.school="黑马程序员";
        System.out.println(student.name);
        System.out.println(student.age);
        System.out.println(student.school);
        Student student1 = new Student();
        System.out.println(student1.name);
        System.out.println(student1.age);
        System.out.println(student1.school);
        student1.school="传智播客";
        System.out.println(student1.school);
        System.out.println(student.school);
    }
}
